﻿
//
//  Copyright (c) 2011 Extreme: Paweł Huryn (lead), Jakub Domański
//

using System;

namespace Extreme.SPFramework.DomainModel
{
    /// <summary>
    /// Sharepoint person info
    /// </summary>
    [Serializable]
    public class PersonInfo
    {
        public PersonInfo(string loginName)
        {
            LoginName = loginName;
        }

        public PersonInfo(int id, string hrID, string loginName, string name, string email)
        {
            ID = id;
            HrID = hrID;
            LoginName = loginName;
            FullName = name;
            Email = email;
        }

        public int ID
        {
            get;
            private set;
        }

        public string HrID { get; set; }
        public string LoginName
        {
            get;
            private set;
        }

        public string FullName
        {
            get;
            private set;
        }

        public string Email
        {
            get;
            private set;
        }
    }
}
